import { createModule } from '@/router/type'
import LayoutView from '@/layout/LayoutView.vue'

export default createModule([
  {
    path: '/user',
    redirect: '/user/user-info',
    component: LayoutView,
    children: [
      {
        path: 'user-info',
        name: 'UserInfo',
        meta: { title: '个人中心' },
        component: () => import('@views/userinfo/user-info.vue')
      }
    ]
  }
], false)
